package xyz.riceball.springcloudstreambinderfile.property;

import org.springframework.cloud.stream.binder.BinderSpecificPropertiesProvider;

/**
 * <p>
 * FileBinderSpecificPropertiesProvider
 * </p>
 *
 * @author xiaovcloud
 * @since 2024/6/17 14:26
 */
public class FileBinderProperties implements BinderSpecificPropertiesProvider {

	private FileConsumerProperties consumer = new FileConsumerProperties();
	private FileProducerProperties producer = new FileProducerProperties();

	public void setConsumer(FileConsumerProperties consumer) {
		this.consumer = consumer;
	}

	public void setProducer(FileProducerProperties producer) {
		this.producer = producer;
	}

	@Override
	public Object getConsumer() {
		return consumer;
	}

	@Override
	public Object getProducer() {
		return producer;
	}
}
